How can I find purged objects in a module?
the "for o in entire(m) do ..." loop only finds deleted and not deleted objects. If a deleted object gets purged, it can´t be found anymore, can it?
The best case would be a way to find purged objects in the same "for o in m" loop.
Do u have any idea?
ThomasR. - Tue Jan 25 05:54:55 EST 2011 |
|
Re: How to find purged objects? Peter_Albert - Tue Jan 25 06:46:19 EST 2011
From the DOORS Help: "Purging deleted objects removes them permanently from the database." This makes it extremely diffcult to find them, well, in the database. The closest you can get is to compare the latest baseline with the current module. Objects from the latest baseline which do not exist in the current module have been purged.
There is no way you can find them with a for loop in the current Module.
Best regards,
Peter
|
|
Re: How to find purged objects? ThomasR. - Tue Jan 25 07:56:22 EST 2011 Peter_Albert - Tue Jan 25 06:46:19 EST 2011
From the DOORS Help: "Purging deleted objects removes them permanently from the database." This makes it extremely diffcult to find them, well, in the database. The closest you can get is to compare the latest baseline with the current module. Objects from the latest baseline which do not exist in the current module have been purged.
There is no way you can find them with a for loop in the current Module.
Best regards,
Peter
Thank you Peter. I feared it wouldn´t be that easy.
Though they are not completely gone. At least in the history you can still read about the deleting and purging of objects.
I will try to get the purged objects with a loop through the history of m. Though it doesn´t look like good practice.
|
|
Re: How to find purged objects? llandale - Tue Jan 25 10:02:10 EST 2011
They are gone and you cannot get an "Object" handle for them. Yes you can find them in History but you end up with either an "Identifier" or "Absolute Number", not an "Object" reference. Purged objects will still be in baselines however.
You can get the AbsNo from history and then search old baselines until you find an object with that AbsNo, if you need to see what the objects used to look like.
Take a picture of a piece of cake and then eat it. The cake is gone but you can still look at the picture.
|
|
Re: How to find purged objects? AkkuKap - Fri Sep 27 04:39:18 EDT 2019
Does anyone now got to know how to find out list of purged objects in module?
|
|
Re: How to find purged objects? Mike.Scharnow - Fri Sep 27 09:32:46 EDT 2019 AkkuKap - Fri Sep 27 04:39:18 EDT 2019
Does anyone now got to know how to find out list of purged objects in module?
Just like Louie and Thomas described: iterate over the module history. (Loop: for <History> in <Module>, HistoryType: purgeObject).
See chapter "History" in the DXL manual for examples
|
|